package com.k2data.k2app.mapper;

import com.k2data.k2app.domain.DeviceCond;
import com.k2data.k2app.domain.po.MonitorLimitValue;
import com.k2data.k2app.mybatis.mapper.K2Mapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author lidong9144@163.com 17-4-5.
 */
@Mapper
@Repository
public interface MonitorLimitValueMapper extends K2Mapper<MonitorLimitValue> {

    List<MonitorLimitValue> selectLimitValue(DeviceCond cond);

    /**
     * 根据模板测点，设备编号，通道信息查询设备测点阈值
     * @param cond
     * @return
     */
    List<MonitorLimitValue> selectLimitValueByTVarible(DeviceCond cond);
}
